const merge = require('webpack-merge')
const common = require('./webpack.common.js')
const webpack = require("webpack")

module.exports = merge(common, {
    mode: "development",
    devServer: {
        overlay: true,
        hot: true,
        open: true,
        hotOnly: true,
        // proxy: {
        //     '/api': {
        //       target: 'http://localhost:3000',
        //       pathRewrite: {'^/api' : ''}
        //     }
        //   }
    },
})